package com.task.sql.schedule.constant;/**
 * @ClassName : DBOperaterValue
 * @Description : 数据库操作
 * @Author : liudonghai
 * @Date: 2024-09-11 17:48
 */

/**
 * @ClassName : DBOperaterValue
 * @Description : 数据库操作
 * @Author : liudonghai
 * @Date: 2024-09-11 17:48
 */
public enum DBOperaterValue {
    OP_NULL(-1,"NULL"),
    OP_SELECT(0,"SELECT"),
    OP_INSERT(1,"INSERT"),
    OP_UPDATE(2,"UPDATE"),
    OP_DELETE(3,"DELETE"),

    ;
    private Integer code;

    private String msg;

    DBOperaterValue(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
